home *** CD-ROM | disk | FTP | other *** search
/ Interactive Quarterly / The Best of New Machine Publishing 1 - Disc 4: Interactive Quarterly.iso / pc / xtras / pomlite.dir / Documentation_6.txt < prev    next >
Encoding:
Text File  |  1996-10-06  |  1.9 KB  |  43 lines

  1. print
  2.  
  3. Syntax:  print member whichCastmember [,... ]
  4.         print member whichCastmember of castLib whichLib [, ... ]
  5.         print castLib whichCast  [, ... ]
  6.         print sprite whichSprite  [, ... ]
  7.         print string [, ... ]
  8.         print list [, ... ]
  9.         print documentObject
  10.  
  11. The print command is an extension to Lingo provided by the PrintOMatic Lite Xtra. This command is used to print one or more items to the currently selected printer. The following Director objects are printable:
  12.  
  13.     type of object             what gets printed
  14.     _____________________________________________________________________
  15.  
  16.     text field cast member     the text of the field, using the specified
  17.                                fonts and styles
  18.     rich text cast member      the bitmap image of the cast member,
  19.                                including anti-aliasing
  20.     bitmap cast member         the cast member graphic
  21.     PICT cast member           the cast member graphic
  22.     cast library               all printable cast members in the library,
  23.                                in cast sequence
  24.     sprite                     the cast member of the sprite
  25.     text string                the text string, in the default font
  26.                                (Geneva 10pt on Macintosh, Arial 10pt 
  27.                                on Windows)
  28.     list (linear or property)  the elements in the list
  29.     document object            the contents of the PrintOMatic Lite
  30.                                document object
  31.     
  32. Examples:
  33.  
  34. You can print a number of objects together with a single call to the print command:
  35.  
  36.     print "Printed Output" & RETURN , member "image" , member "someText"
  37.  
  38. One of the most powerful uses of the print command is to assemble all the elements of a document into a single cast library, and print the entire cast library with one line of Lingo:
  39.  
  40.     print castLib "document"
  41.  
  42.  
  43.